Restrict when to release locks going out of scope

Fixes #6

Forked processes must release their locks explicitly.
Merge pull request #7 from piojo/lock-fix

Restrict when to release locks going out of scope
[maven-release-plugin] prepare release perl-CAF-13.1.2-RC1
[maven-release-plugin] prepare for next development iteration
[maven-release-plugin] prepare release perl-CAF-13.1.2-RC2
[maven-release-plugin] prepare for next development iteration