Hm, good point! I tried to implement such thing via RTOS... but this seems to be above my skills.