Ignoring Mac filesystem files, commented out wait for heartbeat timeout, as this only works when connected via USB and can likely be skipped