Add support for teardown command types

Reviewers: rajat

Reviewed By: rajat

Subscribers: vishal

Differential Revision: https://tails.corp.dropbox.com/D66134