Fix up error handling for flowd