You can clone with
There is a race condition that can causes acceptors to crash after using set_max_connections/2, as an attempt to update element on non existing ets object (deleted by listener).
After switching from integers to infinity the listener gen_server may attempt to write to the (non existing) ets object and crash. This occurs when rm_diff =0 and a monitored process (from before the switch) dies.
It is possible there are other issues involved here too.
Edit: This should be solved when custom supervisor implemented.
This replaces #27 and #28
Solved by custom supervisor.