resolve multiples transactions only when the plug is unplugged and replugged
fixed bug with close reader