Timer update

Added timeout functionality to the serial line