Change delay to reflect ms, not seconds.