adding more options: max connections, max threads.