[PATCH 1/7] server: Allow calling async_terminate() with STATUS_PENDING.