Fix server side timer logic

Also allow client timer to reach zero.