Open topic with navigation

# Handle Stop Requests

A connector can be requested to stop at any time. For example, the connector might be running as a service that is stopped, it might receive an `action=stop` command to its service port, or a user might press CTRL+C in the connector’s console window.

The sample code calls the `shouldStop` method on the `SynchronizeTask` between each document that it processes. If this method returns true the connector has been instructed to stop so the sample code returns immediately.

© 2018 Micro Focus or one of its affiliates | Send documentation feedback to Micro Focus Close Send documentation feedback To open the configured email client on this computer, open an email window. Otherwise, copy the information below to a web mail client, and send this email to swpdl.idoldocsfeedback@microfocus.com. We appreciate your feedback! Product: Topic Title: Help Topic: Feedback:

_FT_HTML5_bannerTitle.htm