retry if connection closed