Any MySQL client on my local machine freezes if not talking to server for a while

view story

http://serverfault.com – On my local machine I use a MySQL client to connect to a remote MySQL server (an Amazon EC2 instance). I tested many many client, but all of them freezes (I have to force close them) if I try to perform any operation after some minutes I did anything (idle). I'm asking if the server can perform some type of timeout, or if is there a reason it can freeze on some query performing. I have to say the website running on the server continue to work without any problems, so there is something wrong in the remote connection. Here is my my.cnf: http://pastebin.com/S4PmA3j3 During freeze CPU is not (HowTos)