[PATCH 4/9] server: Use weak reference between console input and renderer objects.