test both kill query and disconnection on prepared statement execution