add some ticket management

ticket manipulation in try acquire mehanism