Try alternative, non-sleep method for waiting for SFTP