Always unlock.

Move the call to unlock the amalgamator into a cleanup action.

Closes #10.