[PATCH 2/2] server: Fix repeated AttachThreadInput() calls.