Adding m_sh initialization to constructor. Also Changing from poll() to run() in worker loop, a blocking call is more appropriate.