what if an error occurs in this series; wouldn't there be resources kept alive which should be removed?