Added thread sleep in waiting receipt