remove unnecessary additional scoping of lock_guards in InterfaceThread