To Do: Remove connection to UI when the operation is finish