If it fails with this exit code, rake search:validate failed, meaning the elasticsearch mappings or index isn't in sync with the code. To avoid bouncing the app too quickly when this happens, sleep for a bit