Added async function to run processes in background. Added child status check if any background process have terminated.