Coverage is not generating for celery workers when using prefork

I am trying to generate coverage for the code that is being executed by celery workers.
Coverage is generated when I am setting the pool as a solo. But When I am not setting anything (leaving default to prefork) Coverage is not generating. My issue is something similar to the one mentioned below.

@nedbat Can you please suggest some solution for this issue?

This issue seems relevant: not recording code executed asynchronously by Celery (For Flask) · Issue #689 · nedbat/coveragepy · GitHub Does the fix suggested there work for you?