checkServerState is in hotfolder manager