say my idl (.thrift) file defines a function
void fn(1: string if_name);
if I call this function as fn(3) the connection get closed, hence not allowing next set of function to be called. (function call has been kept within exception handling)
but for other cases like if we call this function with 2 params in place of 1 as expected by function. it just thrown exception but does not close the connection.