Setting the timeout down to 10 seconds, added a new state list_sent. And the connection wont be closed right after sending the list anymore, but when the timeout hits