Added on time out listener to streamhandler.