apparently extra wait time is needed to ensure that the ssh connection actually receives data back properly