Adds a call to get method of Future task.

Adds a call to get method of Future task so the threads are closed in sync.