Wrap ioservice run_one method. Fixes #278