Fix issue #1: lock file is now removed

After instance creation, lock file was not removed.