fix for hangs caused by upstream kltm/bbop-js#23