reconnect on connection close in work
fix pack command