How to check if a Blender subprocess is still running in background mode from a Python script?
This is no different from regular subprocess use:
https://docs.python.org/3.6/library/subprocess.html

Use the return value of Popen and check it will poll()

See: https://stackoverflow.com/questions/12057794 - though in your case you won't want to wait until poll finished.