Make sure 'cloud-env' won't crash server.