Future exists after client.gather


I set up a LocalCluster, and submit a function calling another function where another submit was executed using get_client() in the function.
In each function future was not gathered
At the end of the process, I ran client.gather(future), found that some of futures in the output still exist.
I got the expected result after repeating client.gather over and over.
Did I do something wrong?
Should I gather at the end of function?
Any tip would be greatly appreciated.

Hi @dynaryu,

Could you provide a minimal reproducer of your use case?