If you must wait so long for getting the data you shouldn't execute integration component inside Dialog Workflow or inside any workflow task based on web form dialogs where interaction is serviced by web requests.
There are several ways to bypass this problem:
1) Gather the data befor creating the task. The problem is the data won't be valid if task will be executed much later.
2) Create a pair of tasks: first for initiating data acquisition, second for processing the gathered data.
If you really need execute this component inside workflow task try to implement data acquisition as asynchonuous event and prepare a dialog form to wait for accomplishment of this event (autorefresh or something similar). However waiting for such a long time involves further problems like browser session timeout etc.