Server: separate timeouts for different phases of transaction (fixes #12)