client: close without spinning
client: close without spinning

https://github.com/warmcat/libwebsockets/issues/789
sartura/libwebsockets,sartura/libwebsockets,sartura/libwebsockets,sartura/libwebsockets,sartura/libwebsockets,sartura/libwebsockets,sartura/libwebsockets