Oh, ultimately we can force lock release in `set_exception_handler()` and `set_error_handler()` methods.