cleanup properly when ctrl+c happens. also easier control over devices.