Added basic timeout mechanism in Server.

Not yet tested and for now it has 15sec const TIMEOUT.