Configuring thread limits for MDBs