Do not swallow NotSerializableException

Alternatively, the stack trace may be logged on DEBUG level not to pollute the log.