working on timer for server side keep alive