I\'ve created custom subclass of Semaphore. This sublass extends original Semaphore and has only 2 methods:
1. set permits count to zero.