drop connection on err