added time.slee(0.01) so the bot won't eat 100% cpu. messages still queue in socket and 10ms is still basically real time but makes process use sub 1% cpu