When gst_element_set_state is called in _setup_locked and errors, the callback is already processed before we reach handle_current_async, and the timer is started even though it's finished processing, which results in a NULL pointer crash later in async_timeout_cb. To fix this, we check that it's still processing before calling handle_current_async. Fixes #1683 Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/4936>