Add exit(uint8_t) support