When can the chest drain come out after lung resection?

When can the chest drain come out after lung resection?