sleep when git commit failed.