remove 'connected' event