Be sure ctx->fd == -1 when calling pwmd_connect*().