Reconnect after connection error

make pminifier catch and handle AutoReconnect so it can retry the whole query it was in the middle of.