Prepared haircut_bot to gracefully restart on network problems.