Have a flask application and when I profile it, I get posix.waitpid as the most time-consuming process. Not sure where this is being called from. How can I improve on this one?

Have a flask application and when I profile it, I get posix.waitpid as the most time-consuming process. Not sure where this is being called from. How can I improve on this one?
