Fix pumps not being saved on shutdown