Hi Ralf, Not just the best but the only way is to use a timeout. Are you sure, that unplugging and replugging again causes the problem? It may be because your app allows one connection only. Harald