Retry on window unfocus