Fix infloop in neutbgr

This PR fixing infinite loop in neutron background simulation.