Connection closed error while provisioning solved

TODO: check why, in some conditions, supervisors does not count well the
number of instances