SockJS: unsubscribe() race condition bugfix