Fix segfault on coroutine calls to streams and missing callbacks