Fix: oacom was not closing sockets when errors occured (like time-out)