Do not return buffer if port is disabled.
Decrease retry wait interval.
Fix: malformated file may cause system hang.
cosmetics.