implemented server timeout (probably)
fixed timing issue
fixed timout (really)
server now uses time functions from util