Added finally and finalize examples

Change-Id: I0b8552305a60e131477cb4726157d97b008c6261