CLOUDSTACK-4023: lock the network during the shutdownNetwork (just the way we do when implement network)
CLOUDSTACK-3748: AddS3Cmd NPE.
CLOUDSTACK-3748:AddS3Cmd NPE.