Enable trace logging
Wait more for server to boot
Fix logging enabling
Sleep for 3s before close