Added session lock check to 'destroy_user_session_info' function.