Changing Serial IO to asynchronous non-blocking