Added half sec timeout