Retry commands when they time out