Added prioq to client.
Added timeout exception.
Extended client api.