Added timer to alarm when a mobile stream should end.
Move call to "wait_handlers" to TCPServer.stop