flush unresent request if err happens and set read timeout on prime connection