I would just use something dumber like `if (false === stripos($lastError['message'], 'interrupted system call')) {` here to reduce chances it fails if php changes the way the message is reported.