use CountDownLatch
fixed for client not to establish connection.
added quartz.properties