Implementaion of onError: TimeoutError. WP-658