added init checks and closing with force