release lock when loading octomap from file fails

ioan you didn't catch my stupid error!