maybe log an error message here if numConnections ever goes less than zero