Fixed bug that error notice is sent more than once

Signed-off-by: Sven Haardiek <Sven@Haardiek.de>