Atomically claim the session as soon as it is generated.
If env['rack.session.options'][:skip] do not unnecessarily lock the session key.