sth.interface_control() function provides an option to break and restore link in HLTAPI. Below are examples to perform the same