closed #4542: fix crash in win32(delete mutex while still lock)
Merge pull request #5943 from koowolf/websocket_fix

closed #4542: WebsocketTest crashes on win32, it may delete mutex which is still being locked