Initialize bgpids: A good way to track background jobs