fixed exception on disconnect httplistener