Releases the single-writer lock if this handle holds it.
Arguments
- project
A bg_handle.
Value
The bg_handle, invisibly, so bg_close() can be used in a pipe
or chained after another method. Closing is idempotent: an already-closed
handle is returned unchanged.