I have tried ForceClose & Reconnect, nothing worked.
Same codes that runs OK in windows, throws error in Linux.
Something strange though, on a connection that only has TIBSQL tied to it, a call to Close did not raise an error.
Only connection that have TIBDataset tied to it, raised an error.