* add API V2 support * handle InterrupedException explicitly Signed-off-by: Reinhard Plaim <reinhardplaim@gmail.com>