Don't disaply empty windows on ctrl-c by pyplot