Adding a configurable timeout parameter for not waiting forever if there's no available connection.
Authored by: cboos 2006-10-14
Parent: [r3918]
Child: [r3920]