added logging for max clients error