Close connection if no data for 30 seconds