Stop weird exit error message that happens sometimes