more python3 compat + check if the process is actually running