Don't let (unexpected) exceptions slip by on timeouts

JAVA-268 #fixes