All unlock calls should be in finally blocks