re-acquiring locks works without errors, closes #61