BF - join pool before trying to delete temp directory