Midi Control with Stream Deck- always lost connection

Hi guys, does anybody use Elgato Stream Deck as Midi Controller for Sound Switch with MAC? For me, SW keeps losing the connection - sometimes it works, sometimes it doesn’t. Other applications such as Traktor or Virtual DJ run without problems with Stream Deck. Does anyone have experience or tips?