EventMachine functionality for rubyserial gem