Added release() contextmanager for Monitor