If not connected before Write(), return error
If task command type not supported, return error