add finish() when device detached