Do not restart pup on windows if it's not enabled

Fix #815