fix close function
fix close function

steigr/websocket-client-simple,shokai/websocket-client-simple,steigr/websocket-client-simple,shokai/websocket-client-simple,shokai/websocket-client-simple,rpijpker/kerst-2016-localhost,steigr/websocket-client-simple