RT-CAN implementation using java threads