Fixes: deletes scope after lock_guard is destroyed. Turned off srw tests in pytests.