Try to avoid killing bg process unless necessary