Better handle PoolErrors.

This should stop those sometimes crashes during rebuilds.

Bug: 56060
Change-Id: I6f293c6cf3470e8c85339f30b99776cbe5d31021
Merge "Better handle PoolErrors."