[Rel-4_0 - bug 10613 ] fixed the problem with calling TicketGet() twice

Hi @mgruner  and @mrcbnsls ,

I solved the problem with calling TicketGet() twice here, we mentioned this recently.
I hope it is better now.

Regards
Zoran