Try to support JRuby and Rbx with polling only