hello, race condition. directory creation is done in the main thread