Added some trace when sending messages