No violation, as long as 5 seconds don't pass. The rule only states that the ball must be released toward the court on a throw-in prior to the end of the 5 second count.
BTW - I would employ legal counsel if you intend to use the word ref in your name - that would apply to you too bktballr*f