i have fouhd what was going wrong. mIRC was keeping my connection alive. i would like to thanks everyone who have taking the time to read this post and try to help me.
Thank you very much.