Defer/recover trick to prevent failed backend goroutines from crashing process