Didn't quite get it timer_sleep to work. Still panicing due to interrupt contexts