Add server keep_alive thread