This change allows user to close ctrlp when it is not needed.