overlapping daemon catalogues check
added remove thread method after failed connection to server
mutex added to daemon configuration writing - necessary ? i don't know