fix incoming data on closed connection exceptions