Ensure writing gear logs fully closes
Merge pull request #17 from smarterclayton/ensure_gear_logs_completes

Ensure writing gear logs fully closes