#1773: JSR356WebSocket - add tests verifying that semaphore is released
#1773: JSR356WebSocket - acquire semaphore with timeout