max connections & status fix