Clear webSocket's function "onmessage" after each test.