buildAborted: abort all on shutdown

Also, prevent multiple calls to done in a test.