turn off interrupts after context switch
Wait for connect and disconnect interrupts
Add Makefile