Move $sqimap_session_id from global to static scope.