remove socket events from client