Fix race conditions with file brain and talkative script.