code formatting changes
adding configurable communication timeouts