Fixed issue when shutting down if Pi4J had not be initialized