MAX! Binding improved discovery of the Cube

fix for error on first message when no config is provided.

Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
For the 2 catches in the finally.. I was doubting if I should even print anything.
Before if something was going wrong, it would possibly leave the port open, which would cause possible issues when doing a new discovery.