How to work with a difficult dissertation or thesis supervisor