proper write completed/errored handling when splitting