introduce timeout and reduce max connections again, most probably they are not needed when timeout is specified