Adjust client usage to reuse client instance on task processing