set socket timeout to server socket, so when we want to exit we dont wait for a packet
add shut down note