Fix: don't consider it available when an AI dies with an error
Add an error handling to spawning a child process