add retries to workind directory creation