Close journal and object map before flagging exclusive lock as released
3 - minor
Pull request ID:
The journal might have in-flight IO which will check if the image is the exclusive lock owner. Therefore, ensure that the journal is shut down before releasing the lock.