changes the type of maxPendingConnections to NSUInteger