Solution:
Finally block will not be executed if program exits(either by calling System.exit() or by causing a fatal error that causes the process to abort)
Credit: 3675