clear listeners if connection disconnected expectedly