closing log handlers because windows doesn't accept concurrent writes to files