invalid statement handle now only returns error and doesn't kill the port process