Set a 2 sec socket timeout

Prevents long delays after calling server.close

Resolves https://github.com/brunch/brunch/issues/716