Added timeout to Sender and Receiver to handle bad connections