Adding a sleep to allow for delay.