Control the lifetime of the bp::object that commands are extracted from ...

...so it's deletion can be wrapped in a GIL lock.