Change capture frame wait timeout. Add frame status check.