Why are you using a timer to begin with, what's wrong with just calling the alias in the sockclose?