changed wait timeout to 3s and polling freq to 100ms from 300ms and 1ms respectively