OS-1964 Fix log flushing in vmadm
OS-1974 / OS-1834 fix problems with many snapshots and serialize zfs list commands.

OS-1974 don't lose data when there are many snapshots
OS-1834 don't run multiple 'zfs list' commands at the same time