Fix for #1632 - only do initialization when we know the server won't reload itself.