I also have this problem. Am running Logic 10.2.4 on Mac OS 10.12
Computer is: MacBookAir6,2
I regularly have to re-add via Audio Midi Setup. It seems to work ok whilst the song is not running but when I run the song it disconnects. It also works ok with other applications.