Added unref() call in "I am ready" case

Suggested-by: Julian Ganz <Julian.Ganz@hs-furtwangen.de>