NullPointer in close connection.