Fix to stop misbehaving clients to DoS mongoose