Refactored timeouts and added javadoc
Ignore exception