modified server so it waits for 30s and bails out cleanly if no client connects. 
modified server so it waits for 30s and bails out cleanly if no client connects. 
UCL-CompLACS/qrsim,UCL-CompLACS/qrsim,UCL-CompLACS/qrsim,UCL-CompLACS/qrsim