Change idle check every 30 minutes. Fix ssl:close crash on disconnected connection