added call back for killing instruments process