Fix custom timeout specs for firefox