Give tests a longer timeout for closure

Closure can take a long time to complete. The default timeout of 2000ms
isn't enough for some servers, so I'm upping it to 5000ms.