Fixing follow not being closed on the event of error.