#166 close all pending on exception