linear timeout receiving a message
check if isListeningn when accept a new connetion