call done over process exit so this can be chained to other tasks