Flanagan, who has starred in shows like " Insecure" and NBC's "Last Comic Standing," died over the week