Built and removed return true which was preventing block->close() being called