pulse: drain timing and error handling fixes.  addresses bmo# 752401.