Adjusted heartbeat interval to avoid immediate logout