Fork join_none disable block is not working

In reply to shamsheer:

You are still not showing enough code that might explain what might be going wrong. You might trydisable fork; instead.